﻿<Window x:Class="ELearning.Wpf.UI.wndSubjectView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Перегляд дисцiплiни" Height="451" Width="796"  WindowStartupLocation="CenterScreen">
    <Grid  HorizontalAlignment="Stretch" Margin="12,44,12,12" Name="grid1" VerticalAlignment="Stretch" ClipToBounds="False" >
            <Grid.RowDefinitions>
                <RowDefinition Height="29" />
                <RowDefinition Height="Auto" />
            <RowDefinition Height="9*" />
        </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Label Content="Теоретичний матерiал" Grid.RowSpan="2" Height="28" HorizontalAlignment="Center" Name="label1" VerticalAlignment="Top" FontSize="14" FontWeight="SemiBold" FontFamily="Segoe UI" />
            <Label Content="Тести" FontFamily="Segoe UI" FontSize="14" FontWeight="SemiBold" Height="28" HorizontalAlignment="Center" Name="label2" VerticalAlignment="Top" Grid.Column="1" />
        <Button Content="Button" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="292,-37,0,0" Name="button1" VerticalAlignment="Top" Width="75" />
        <ListBox Grid.Row="1" Name="lbTopics" Margin="12,12,12,44" />
        <ListBox Margin="12,12,12,44" Name="lbTests" Grid.Column="1" Grid.Row="1" ItemsSource="{Binding}" MouseDoubleClick="lbTests_MouseDoubleClick" />
            
        <Button Content="Додати" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="291,295,0,0" Name="btAddTopic" VerticalAlignment="Top" Width="75" />
        <Button Content="Додати" Height="23" HorizontalAlignment="Left" Margin="292,295,0,0" Name="btAddTest" VerticalAlignment="Top" Width="75" Grid.Column="1" Grid.Row="1" Click="btAddTest_Click" />
        <Label Content="[Назва дисцiплiни]" Height="30" HorizontalAlignment="Left" Margin="0,-44,0,0" Name="lbSubjectName" VerticalAlignment="Top" FontSize="16" />
        <Button Content="Редагувати" Height="23" HorizontalAlignment="Left" Margin="211,295,0,0" Name="btEditTest" VerticalAlignment="Top" Width="75" Grid.Column="1" Grid.Row="1" Click="btEditTest_Click" />
    </Grid>
</Window>
